#!/bin/bash
#chkconfig:2345 80 90
#description:ui.neiyibaba.cn release shell

release(){
    scp -P 7698 target/nybb.war root@www.cmchuanghe.com:/usr/local/neiyi-tomcat/web_package_tmp/
    ssh -p 7698 root@www.cmchuanghe.com "cd /usr/local/neiyi-tomcat-off/webapps/ ; sh release2neiyi.sh"
}
